#ifndef QSETBORDERDIALOG_H
#define QSETBORDERDIALOG_H


#include "../../include/qcommonstruct.h"

#include <QDialog>

namespace Ui {
    class QSetBorderDialog;
}

class QSetBorderDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QSetBorderDialog(QWidget *parent = 0);
    ~QSetBorderDialog();

    void    setBorderInfo(tagBorderInfo info);
    tagBorderInfo getBorderInfo();
    int     getRet();
protected:
    bool    eventFilter(QObject *, QEvent *);
protected slots:
    void    updateStyleSheet();
private slots:
    void on_okBtn_clicked();

    void on_cancelBtn_clicked();

private:
    Ui::QSetBorderDialog *ui;
    QColor              m_color;
    int m_ret;
};

#endif // QSETBORDERDIALOG_H
